<include file="./Public/header" />
<div style="margin-left: 400px;"><h1>修改用户</h1></div>


<form class="form-horizontal" role="form" action="userUpdate" method="post"  enctype="multipart/form-data">

	<input type="hidden" name="id" value="{$users.id}"></input>
 
    <div class="form-group ">
        <label for="username" class="col-md-2 control-label">用户名：</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="username" name="username" placeholder="username" value="{$users.username}">
        </div>
    </div>
    <div class="form-group">
        <label for="pass"class="col-md-2 control-label">真实姓名</label>
        <div class="col-md-5">
            <input type="text" class=" form-control " id="pass" name="realname" placeholder="password" value="{$users.realname}">
        </div>
    </div>
    <div class="form-group">
        <label for="email" class="col-md-2 control-label">邮箱 </label>
        <div class="col-md-5">
            <input class="form-control" id="email" name="email" value="{$users.email}" >
        </div>
    </div>
    <div class="form-group">
        <label for="text" class="col-md-2 control-label">电话 </label>
        <div class="col-md-5">
            <input class="form-control" id="email" name="tele" value="{$users.tele}" >
        </div>
    </div>
    
  
    <div class="form-group">
        <label for="image" class="col-md-2 control-label">头像</label>
        <div class="col-md-3">

            <img clas="img-rounded" id="image"  src="__PUBLIC__/uploads/photo/{$users.photo}" alt="..." width="50%" />
        </div>
    </div>
    <div class="form-group">
        <label for="photo" class="col-md-2 control-label">修改文件</label>
        <div class="col-md-2">
            <input type="file" id="photo" name="photo" >
           
        </div>
    </div>



    <div class="form-group">
        
    <div class="col-md-2 col-md-offset-5">
        <button type="submit" class="btn btn-default">修改用户</button>
    </div>

</form>

<include file="./Public/footer" />